package oop.ex2.objects;

import java.util.HashMap;

public class Method {
    private String name;
    private String returnType;
    private HashMap<String,String> arguments;
    
    public Method(String name, String returnType, HashMap<String,String> arguments) {
        this.name = name;
        this.returnType = returnType;
        this.arguments = arguments;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setArguments(HashMap<String,String> arguments) {
        this.arguments = arguments;
    }

    public HashMap<String,String> getArguments() {
        return arguments;
    }
    
}
